wayland: Don't assert non-recursing in gdk_window_destroy
authorMatthias Clasen <mclasen@redhat.com>
Fri, 28 Aug 2015 17:48:46 +0000 (13:48 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 28 Aug 2015 20:15:26 +0000 (16:15 -0400)
While we do not have subwindows in Wayland, we do create an
artificial root window. When the display is closed, the root
window gets destroyed, causing recursing to be true for the
toplevel windows.

gdk/wayland/gdkwindow-wayland.c

index a0901cfc67a1f9f5fbad16bac40d609cb246cdd3..d54a933bad8dcee23cd51782cbcc11a75f2fe1dd 100644 (file)
@@ -1617,8 +1617,6 @@ gdk_wayland_window_destroy (GdkWindow *window,
 
   g_return_if_fail (GDK_IS_WINDOW (window));
 
-  /* We don't have nested windows */
-  g_return_if_fail (!recursing);
   /* Wayland windows can't be externally destroyed; we may possibly
    * eventually want to use this path at display close-down
    */